﻿using CommunityToolkit.Mvvm.ComponentModel;
using MT.CustomUserControl.Models;

namespace MT.CustomUserControl.ViewModels
{
    public class TwoMultiComboxUcViewModel:ObservableObject
    {
        private MultiComboxUcViewModel comboxViewModel_1;
		public MultiComboxUcViewModel ComboxViewModel_1
        {
			get { return comboxViewModel_1; }
			set { SetProperty(ref comboxViewModel_1, value); }
		}

        private MultiComboxUcViewModel comboxViewModel_2;
        public MultiComboxUcViewModel ComboxViewModel_2
        {
            get { return comboxViewModel_2; }
            set { SetProperty(ref comboxViewModel_2, value); }
        }

        public TwoMultiComboxUcViewModel()
        {
            comboxViewModel_1 = new MultiComboxUcViewModel();
            comboxViewModel_2 = new MultiComboxUcViewModel();
        }

        public void InitAndRest()
        {
            ComboxViewModel_1.InitAndReset();
            ComboxViewModel_2.InitAndReset();
        }
    }
}
